package C9_7_IntroduceNullObject;

/**
 * @author xugang1
 * @updated 2022/7/25
 * @description 引入Null对象
 */

public class Site {
    Customer _customer;

    Customer getCustomer() {
        return (_customer == null) ?
                Customer.newNull() :
                _customer;
    }
}